package com.fl.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

@ApiModel(value = "订单信息")
@Data
public class OrdersDo {

    @ApiModelProperty(value = "id",example = "12123214")
    private int id;
    @ApiModelProperty(value = "订单id",example = "924021")
    private String orderId;
    @ApiModelProperty(value = "用户id",example = "12312124")
    private String userId;
    @ApiModelProperty(value = "商品总数",example = "23")
    private int orderNumber;
    @ApiModelProperty(value = "商品总金额",example = "24231")
    private float totalPrice;
    private Date createTime;
    private Date updateTime;
}

